<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>09_DOM0-低级浏览器-解绑</title>
    </head>
    <body>
        <button id="bind">绑定</button>
        <button id="unBind">解绑</button>

        <script>
            var bind = document.getElementById('bind');

            bind.onclick = function(){
                console.log(11111);
            }

            var unBind = document.getElementById('unBind');
            unBind.onclick = function(){
                bind.onclick = null;
            }

            // 总结：dom0级事件 不区分高低级浏览器
        </script>
    </body>
</html>